package com.ctrip.ec.biz.entity.payment;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_payment")
public class PaymentEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("sn")
    private String sn;
    @DbColumn("name")
    private String name;
    @DbColumn("pay_fee")
    private Integer payFee;
    @DbColumn("status")
    private Integer status;
    @DbColumn("invoice_title")
    private String invoiceTitle;
    @DbColumn("is_invoice")
    private Integer isInvoice;
    @DbColumn("invoice_type")
    private Integer invoiceType;
    @DbColumn("tax_payer")
    private String taxPayer;
    @DbColumn("goods_amount")
    private BigDecimal goodsAmount;
    @DbColumn("payment_amount")
    private BigDecimal paymentAmount;
    @DbColumn("coupon_amount")
    private BigDecimal couponAmount;
    @DbColumn("shipping_amount")
    private BigDecimal shippingAmount;
    @DbColumn("transaction_id")
    private String transactionId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("order_time")
    private Timestamp orderTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("pay_time")
    private Timestamp payTime;
    @DbColumn("prepay_id")
    private String prepayId;
    @DbColumn("code_url")
    private String codeUrl;
    @DbColumn("trade_type")
    private String tradeType;
    @DbColumn("member_id")
    private Long memberId;
    @DbColumn("remark")
    private String remark;
    @DbColumn("type")
    private Integer type;
    @DbColumn("purpose")
    private Integer purpose;
    @DbColumn("agent_id")
    private Long agentId;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  String getSn(){
        return this.sn;
    }
    public void setSn(String sn){
        this.sn = sn;
    }
    public  String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public  Integer getPayFee(){
        return this.payFee;
    }
    public void setPayFee(Integer payFee){
        this.payFee = payFee;
    }
    public  Integer getStatus(){
        return this.status;
    }
    public void setStatus(Integer status){
        this.status = status;
    }
    public  String getInvoiceTitle(){
        return this.invoiceTitle;
    }
    public void setInvoiceTitle(String invoiceTitle){
        this.invoiceTitle = invoiceTitle;
    }
    public  Integer getIsInvoice(){
        return this.isInvoice;
    }
    public void setIsInvoice(Integer isInvoice){
        this.isInvoice = isInvoice;
    }
    public  Integer getInvoiceType(){
        return this.invoiceType;
    }
    public void setInvoiceType(Integer invoiceType){
        this.invoiceType = invoiceType;
    }
    public  String getTaxPayer(){
        return this.taxPayer;
    }
    public void setTaxPayer(String taxPayer){
        this.taxPayer = taxPayer;
    }
    public  BigDecimal getGoodsAmount(){
        return this.goodsAmount;
    }
    public void setGoodsAmount(BigDecimal goodsAmount){
        this.goodsAmount = goodsAmount;
    }
    public  BigDecimal getPaymentAmount(){
        return this.paymentAmount;
    }
    public void setPaymentAmount(BigDecimal paymentAmount){
        this.paymentAmount = paymentAmount;
    }
    public  BigDecimal getCouponAmount(){
        return this.couponAmount;
    }
    public void setCouponAmount(BigDecimal couponAmount){
        this.couponAmount = couponAmount;
    }
    public  BigDecimal getShippingAmount(){
        return this.shippingAmount;
    }
    public void setShippingAmount(BigDecimal shippingAmount){
        this.shippingAmount = shippingAmount;
    }
    public  String getTransactionId(){
        return this.transactionId;
    }
    public void setTransactionId(String transactionId){
        this.transactionId = transactionId;
    }
    public  Timestamp getOrderTime(){
        return this.orderTime;
    }
    public void setOrderTime(Timestamp orderTime){
        this.orderTime = orderTime;
    }
    public  Timestamp getPayTime(){
        return this.payTime;
    }
    public void setPayTime(Timestamp payTime){
        this.payTime = payTime;
    }
    public  String getPrepayId(){
        return this.prepayId;
    }
    public void setPrepayId(String prepayId){
        this.prepayId = prepayId;
    }
    public  String getCodeUrl(){
        return this.codeUrl;
    }
    public void setCodeUrl(String codeUrl){
        this.codeUrl = codeUrl;
    }
    public  String getTradeType(){
        return this.tradeType;
    }
    public void setTradeType(String tradeType){
        this.tradeType = tradeType;
    }
    public  Long getMemberId(){
        return this.memberId;
    }
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    public  String getRemark(){
        return this.remark;
    }
    public void setRemark(String remark){
        this.remark = remark;
    }
    public  Integer getType(){
        return this.type;
    }
    public void setType(Integer type){
        this.type = type;
    }
    public  Integer getPurpose(){
        return this.purpose;
    }
    public void setPurpose(Integer purpose){
        this.purpose = purpose;
    }
    public  Long getAgentId(){
        return this.agentId;
    }
    public void setAgentId(Long agentId){
        this.agentId = agentId;
    }
}